package com.isoft.dao;

import com.isoft.entity.AirportChange;
import com.isoft.entity.Luggage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;
@Mapper
public interface Luggagedao {
    @Select("SELECT * FROM AIRPORT.BLLS_BELT")
    public List<Luggage> getAll();
    @Update("UPDATE AIRPORT.BLLS_BELT SET BTNO=#{btno},PID=#{pid},CODE=#{code},BTAT=#{btat},ESTR=#{estr},EEND=#{eend},RSTR=#{rstr},REND=#{rend} where ID=#{id}")
    public int updateLug(Luggage luggage);
}
